.order-container {
  .my-swiper {
    .swiper-item {
      image {
        width: 100%;
      }
    }
  }

  .big-tit {
    padding: 20rpx 0;
    text-align: center;
    font-size: 40rpx;
  }

  .order-main {
    display: flex;
    height: 100vh;
    border-top: 1px solid #f7f7f7;

    .order-classify {
      width: 22vw;
      height: 100%;
      background-color: #f7f7f7;

      .none {
        width: 100%;
        height: 150rpx;
      }

      .classify-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100rpx;
        // line-height: 100rpx;
        // text-align: center;

        .icon {
          margin-bottom: 6rpx;
          width: 40rpx;
          height: 40rpx;
        }

        .title {
          font-size: 22rpx;
        }
      }

      .classify-item.active {
        position: relative;
        // width: 95%;
        background-color: #fff;

        &::before {
          position: absolute;
          left: 0;
          top: 0;
          content: '';
          display: inline-block;
          width: 10rpx;
          height: 100%;
          background-color: rgb(165, 42, 42);
        }
      }
    }

    .order-menu {
      flex: 1;
      height: 100%;

      .none-menu {
        padding: 200rpx 0;
        text-align: center;
        color: #999;
      }

      .classify-title {
        padding: 0 30rpx;
        margin-top: 10px;
        height: 30px;
        line-height: 30px;
        font-size: 32rpx;
      }

      .menu-item {
        position: relative;
        display: flex;
        margin: 10px 20rpx 0;
        box-sizing: border-box;
        background-color: #f7f7f7;
        border-radius: 20rpx;
        overflow: hidden;

        .menu-item-mask {
          padding-left: 20rpx;
          display: flex;
          justify-content: flex-end;
          position: absolute;
          width: 100%;
          height: 100%;
          background-color: rgba(0, 0, 0, .3);
          z-index: 2;

          image {
            width: 270rpx;
            height: 100%;
          }
        }

        .item-img-container {
          margin-right: 20rpx;
          width: 200rpx;
          height: 200rpx;
          border-radius: 20rpx;
          overflow: hidden;

          image {
            width: 100%;
            height: 100%;
          }
        }

        .item-info {
          flex: 1;
          padding: 20rpx 0;
          display: flex;
          flex-direction: column;
          justify-content: space-between;

          .tit {
            font-size: 36rpx;
            font-weight: 600;
          }

          .price {
            display: flex;
            align-items: center;

            image {
              width: 34rpx;
              height: 34rpx;
            }

            .heartbeat-value {
              margin-left: 10rpx;
              font-size: 28rpx;
              color: #9e2627;
            }
          }

          .handle {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            height: 50rpx;

            .add-btn {
              margin-right: 20rpx;
              padding: 0 20rpx;
              height: 40rpx;
              line-height: 40rpx;
              color: #9e2627;
              font-size: 28rpx;
              border: 2rpx solid #9e2627;
              border-radius: 40rpx;
            }

            .btn {
              padding: 0;
              margin: 0 10rpx;
              width: 50rpx;
              height: 50rpx;

              image {
                width: 100%;
                height: 100%;
              }
            }

            input {
              width: 40rpx;
              height: 40rpx;
              line-height: 40rpx;
              text-align: center;
              font-size: 28rpx;
            }
          }
        }
      }
    }
  }

  .my-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9;

    .cart-tool {
      position: absolute;
      left: 0;
      bottom: 0;
      display: flex;
      align-items: center;
      width: 100vw;
      height: 100rpx;
      background-color: #fff;
      box-sizing: border-box;
      box-shadow: 0rpx 6rpx 26rpx rgba(0, 0, 0, .5);
      // border-top: 1px solid #9e2627;
      // border-bottom: 1px solid #9e2627;
      z-index: 9;
    }

    .check-cart {
      flex: 3;
      position: relative;
      display: flex;
      align-items: center;
      height: 100%;

      .checked-menu {
        padding: 0 80rpx;
        display: flex;
        align-items: center;
        height: 100%;
        font-size: 30rpx;
      }

      .cart-num {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 20rpx;
        top: -25rpx;
        width: 50rpx;
        height: 50rpx;
        color: #fff;
        font-size: 26rpx;
        background-color: #9e2627;
        border-radius: 50rpx;
        z-index: 9;
      }
    }

    .need-heartbeat {
      flex: 1;
      display: flex;
      align-items: center;

      image {
        margin-right: 20rpx;
        width: 40rpx;
      }

      .heartbeat {
        font-size: 30rpx;
        color: #9e2627;
      }
    }

    .place-order {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 200rpx;
      height: 100rpx;
      font-size: 34rpx;
      color: #fff;
      background-color: #9e2627;
      // color: #9e2627;
      // background-color: #fff;
      // border: 2rpx solid #9e2627;
      box-sizing: border-box;
    }

    .cart-con {
      padding: 30rpx;
      padding-top: 0;
      position: absolute;
      left: 0;
      bottom: 0rpx;
      width: 100vw;
      background-color: #fff;
      box-sizing: border-box;
      animation: identifier .3s forwards;
      box-shadow: 0rpx 6rpx 26rpx rgba(0, 0, 0, .5);

      .con-top {
        padding: 15rpx 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 26rpx;

        .clear {
          color: #999;
        }

        .close {
          text-align: right;
        }
      }



      .cart-list {
        max-height: 400rpx;
        overflow: scroll;

        .cart-item {
          margin-bottom: 20rpx;
          display: flex;
          background-color: #f7f7f7;
          border-radius: 20rpx;

          image {
            margin-right: 20rpx;
            width: 160rpx;
            height: 160rpx;
            border-radius: 20rpx;
          }

          .cart-item-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 20rpx 40rpx 20rpx 20rpx;

            .title {
              font-size: 30rpx;
            }

            .info {
              display: flex;
              align-items: center;
              justify-content: space-between;

              .num {
                font-size: 28rpx;
                color: #999;
              }

              .price {
                display: flex;

                image {
                  margin-right: 10rpx;
                  width: 36rpx;
                }

                view {
                  font-size: 26rpx;
                  color: #9e2627;
                }
              }
            }
          }
        }
      }
    }
  }
}

@keyframes identifier {
  0% {
    bottom: -500rpx;
  }

  100% {
    bottom: 100rpx;
  }
}